package com.softwarerusher.model;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * TInstore entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class TInstore implements java.io.Serializable {

	// Fields

	private Integer instoreId;
	private TShop TShop;
	private Date instoreTime;
	private Integer staffId;
	private Double instoreMoney;
	private Set TInstoredetails = new HashSet(0);

	// Constructors

	/** default constructor */
	public TInstore() {
	}

	/** minimal constructor */
	public TInstore(TShop TShop, Integer staffId, Double instoreMoney) {
		this.TShop = TShop;
		this.staffId = staffId;
		this.instoreMoney = instoreMoney;
	}

	/** full constructor */
	public TInstore(TShop TShop, Date instoreTime, Integer staffId,
			Double instoreMoney, Set TInstoredetails) {
		this.TShop = TShop;
		this.instoreTime = instoreTime;
		this.staffId = staffId;
		this.instoreMoney = instoreMoney;
		this.TInstoredetails = TInstoredetails;
	}

	// Property accessors

	public Integer getInstoreId() {
		return this.instoreId;
	}

	public void setInstoreId(Integer instoreId) {
		this.instoreId = instoreId;
	}

	public TShop getTShop() {
		return this.TShop;
	}

	public void setTShop(TShop TShop) {
		this.TShop = TShop;
	}

	public Date getInstoreTime() {
		return this.instoreTime;
	}

	public void setInstoreTime(Date instoreTime) {
		this.instoreTime = instoreTime;
	}

	public Integer getStaffId() {
		return this.staffId;
	}

	public void setStaffId(Integer staffId) {
		this.staffId = staffId;
	}

	public Double getInstoreMoney() {
		return this.instoreMoney;
	}

	public void setInstoreMoney(Double instoreMoney) {
		this.instoreMoney = instoreMoney;
	}

	public Set getTInstoredetails() {
		return this.TInstoredetails;
	}

	public void setTInstoredetails(Set TInstoredetails) {
		this.TInstoredetails = TInstoredetails;
	}

}